package top.misspro.valheimadminsocket.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import top.misspro.valheimadminsocket.annotation.Action;
import top.misspro.valheimadminsocket.annotation.Handler;
import top.misspro.valheimadminsocket.message.command.Install;
import top.misspro.valheimadminsocket.message.command.ServerInfo;

/**
 * @author Evan
 */
@Slf4j
@Service
public class GameServiceImpl implements GameService {



    @Action(ACTION = top.misspro.valheimadminsocket.message.Action.Server.INSTALL)
    @Override
    public void install(ServerInfo info) {
        log.info("安装方法被触发");
    }

    @Override
    public void restart() {

    }

    @Override
    public void update() {

    }
}
